package pers.cz.chat.model.dto;

import java.awt.*;

/**
 * @version 1.0
 * @description:
 * @author: ChengZhi 0336
 * @create: 2025-11-05 17:33
 **/
public class JefColor {

	public int r;
	public int g;
	public int b;

	public JefColor() {
	}

	public JefColor(int r, int g, int b) {
		this.r = r;
		this.g = g;
		this.b = b;
	}

	public int getR() {
		return r;
	}

	public void setR(int r) {
		this.r = r;
	}

	public int getG() {
		return g;
	}

	public void setG(int g) {
		this.g = g;
	}

	public int getB() {
		return b;
	}

	public void setB(int b) {
		this.b = b;
	}

	public Color toColor() {
		return new Color(this.r, this.g, this.b);
	}
}
